<?php

namespace Common\Service;


/** 
 * 视频分P  作为联合视频信息
 * @author Legend. <xcx_legender@qq.com>
 * @param 
 * @return 
 */

Class VideoPageService extends BaseService
{
	/**
	 Base:
	 	id, title, sort, video_id (外键),  timestamp 时间结点 , pager_id ( 分page id )
		function:

			int pages: 返回分P数量

	 */

	//ERROR 错误
	CONST ERROR_TITLE 	 = 100;
	CONST ERROR_VIDEO_ID = 101;

	protected $_validate = array(
		array('title', 'require', self::ERROR_TITLE, self::MUST_VALIDATE , 'regex', self::MODEL_BOTH),
		array('video_id', 'require', self::ERROR_VIDEO_ID, self::MUST_VALIDATE , 'regex', self::MODEL_BOTH),
	);

	
	
	

}